//
//  MNDFinanceAlertViewController.m
//  minidai
//
//  Created by 谭谭伟 on 17/5/9.
//  Copyright © 2017年 迷你金服. All rights reserved.
//

#import "MNDFinanceAlertViewController.h"

@interface MNDFinanceAlertViewController ()

@property (weak, nonatomic) IBOutlet UILabel *detailTextLabel;

@end

@implementation MNDFinanceAlertViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
//    self.detailTextLabel.text = @"1.债权持有60天以上可进行转让\n2.债权转让当天过后，系统将自动为您撤销\n3.债权转让价格需大于或等于100元";
    self.alertBtn.layer.cornerRadius = self.alertBtn.bounds.size.height*0.5;
    self.alertBtn.clipsToBounds = YES;
    self.alertContainView.transform = CGAffineTransformMakeScale(0.2, 0.2);
}

- (void)viewWillAppear:(BOOL)animated {
    
    [super viewWillAppear:animated];
    
    [UIView animateWithDuration:0.7
                          delay:0.0
         usingSpringWithDamping:0.5
          initialSpringVelocity:0.1
                        options:UIViewAnimationOptionCurveEaseIn
                     animations:^{
                         
                         self.alertContainView.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.0, 1.0);
                     }
                     completion:^(BOOL finished) {
                         
                     }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
